package com.example.dml.strategy_pattern.pay;

/**
 * @description:
 * @author: gaoyang
 * @date: 2021/10/28 21:57
 */
public class JDPay extends Payment{
    @Override
    public String getName() {
        return "京东支付";
    }

    @Override
    protected double queryBalance(String uid) {
        return 120;
    }
}
